import { createSSRApp } from 'vue';
import App from './App.vue';
import 'uno.css';
import debug from '@/plugins/debug';
import store from './store';
import { requestInterceptor } from '@/utils/http/requestInterceptor';
// #ifdef H5
debug();
// #endif

export function createApp() {
  const app = createSSRApp(App);
  app.use(store);
  app.use(requestInterceptor);
  return {
    app
  };
}
